package com.springboot_gradrecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.intention.AddIntentionRequest;
import com.springboot_gradrecruit.model.dto.intention.PageIntentionRequest;
import com.springboot_gradrecruit.model.dto.intention.UpdateIntentionRequest;
import com.springboot_gradrecruit.model.entity.Intention;
import com.springboot_gradrecruit.model.vo.intention.IntentionVO;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author zr
* @description 针对表【intention】的数据库操作Service
* @createDate 2024-12-06 14:49:27
*/
@Service
public interface IntentionService extends IService<Intention> {

    Long creatIntention(AddIntentionRequest addIntentionRequest, HttpServletRequest request);

    boolean updateIntentionById(UpdateIntentionRequest updateIntentionRequest);

    PageResponse<IntentionVO> pageIntention(PageIntentionRequest pageIntentionRequest);

    List<IntentionVO> queryIntentionByJobTitle(List<String> jobTitle);

    List<IntentionVO> queryIntentionByJobIndustry(List<String> jobIndustry);
}
